<div style="margin-left: 20px; margin-top: 20px; text-align: left;"> 
    <h2>Danh Sách Hạng Mục</h2>
    <table border="1" id="tableDisplaycataloggeneral" class="tableDisplay">
        <thead >
            <tr>
                <td>ID</td>
                <td>Cataloggeneral</td>
            </tr>
        </thead>
        <tbody>
            <?php
                $aListProduct =$template->get('list_general');
                if(count($template->get('list_general')))
                {
                    foreach($aListProduct as $product)
                    {?>
                    <tr id="<?php echo $product->mahm_id ?>">
                        <td><?php echo $product->mahm_id ?></td>
                        <td><?php echo $product->tenhm ?></td>
                    </tr>
                    <?php }
                } ?>
        </tbody>
    </table>
    <br>
    <p>Thông Tin Chi Tiết</p> <a id="bt_general_catalogy" href="javascript::void();">Thêm Mới</a><img hidden="hidden" style="margin-left: 20px;" id="img_catalog" src="<?php echo URL::getLink('image/tick.png'); ?>"> <p id="lb_error_catalog" hidden="hidden" class="adminerror">Error :  Add Name New Catalogy</p>
    <div style="clear: both;"></div>
    <p style="float: left">ID : <input type="text" id="tb_id_general" style="width: 100px; background-color: #CCFF99;" readonly="readonly"></p>
    <div><p style="float: left; padding-left: 30px;">Hạng Mục : <input id="tb_name_genneral" type="text" style="width: 300px; "></p></div>
    <div style="clear: both;"></div>
    <div><button id="bt_add_general" class="Adminbutton">Add</button><button id="bt_update_general"  class="Adminbutton">Update</button><button id="bt_delete_general"  class="Adminbutton">Delete</button></div>
</div>